package edu.gdkm.packagedemo2;

import java.util.Arrays;

public class D {
    public static void main(String[] args) {
        int a[] = new int[30];
        for (int i = 0; i < a.length; i++) {
            a[i] = (int) (Math.random() * 100);
        }
        System.out.println(Arrays.toString(a));
        Arrays.sort(a);
        System.out.println(Arrays.toString(a));

    }
}
